package com.daxia.ogmall.common;

public enum DecorateNoteType {
	Requirment(1, "确认需求"), 
	Gauged(2, "上门量房"),
	Design(3, "设计方案"),
	Checked(4, "入住验收"),
	Rated(5, "客户评价");

	private int value;
	private String remark;

	private DecorateNoteType(int value, String remark) {
		this.value = value;
		this.remark = remark;
	}

	public int getValue() {
		return value;
	}

	public String getRemark() {
		return remark;
	}

	public static DecorateNoteType getByValue(int value) {
		for (DecorateNoteType o : DecorateNoteType.values()) {
			if (o.getValue() == value) {
				return o;
			}
		}
		return null;
	}
}
